package com.greensam.pixelengine.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Macro_Ray
 * @since 2025/6/16 10:18
 */
@Configuration
public class OpenApiConfig {

    @Bean
    public OpenAPI springDocOpenApi() {
        return new OpenAPI()
                .info(new Info()
                        .title("Greensam Pixel Engine API")
                        .description("API documentation for the Greensam Pixel Engine Application.")
                        .version("1.0.0"));
    }

}
